CONFIG ?= Debug

build: 
	${windir}\Microsoft.NET\Framework\v3.5\msbuild.exe Common.sln /t:Rebuild /property:Configuration=${CONFIG}

clean: 
	${windir}\Microsoft.NET\Framework\v3.5\msbuild.exe Common.sln /t:Clean /property:Configuration=${CONFIG}

test: 
	make -C Provider.xUnit\SQL db_work 
	make -C Provider.xUnit\SQL db_work BASE=mfmserver2:/usr/local/gbk/restore/test_session_manage.gdb
	xunit.console.exe Provider.xUnit\bin\${CONFIG}\Maria.Provider.xUnit.dll	
	xunit.console.exe TreeSearch.xUnit\bin\${CONFIG}\TreeSearch.xUnit.dll	
	xunit.console.exe WPF.xUnit\bin\${CONFIG}\Maria.Common.WPF.xUnit.dll 
	xunit.console.exe Common.xUnit\bin\${CONFIG}\Maria.Common.xUnit.dll 

ms-test:
	${windir}\Microsoft.NET\Framework\v3.5\msbuild.exe common.test.msbuild 
